﻿using Common.Configuration;
using Lazy.Captcha.Core;
using Lazy.Captcha.Core.Generator;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.CaptchaService
{
    public class CaptchaExtensions
    {
        public static void AddCaptchaService(IServiceCollection services)
        {
            services.AddCaptcha(ConfigurationHelper.GetIConfiguration());
        }
    }
}
